package com.twu.biblioteca;

import java.io.PrintStream;

public class PrintBooksCommand implements Command {

    private LibraryCatalogue libraryCatalogue;
    private PrintStream printer;

    public PrintBooksCommand(PrintStream printer, LibraryCatalogue libraryCatalogue) {
        this.libraryCatalogue = libraryCatalogue;
    }

    @Override
    public void execute() {
        libraryCatalogue.printBooks();
    }

}
